import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {CakeOrderComponent } from './cake-order/cake-order.component';
import { MidAutumnCakePostalComponent } from './cake-postal/cake-postal.component';
import { ActivityProductComponent } from './activity-product/activity-product.component';
import { ProductEditComponent } from './activity-product/product-edit/product-edit.component';

const routes: Routes = [

  { path: 'cake-order', component: CakeOrderComponent },
  { path: 'cake-postal', component: MidAutumnCakePostalComponent },
  { path: 'activity-product', component: ActivityProductComponent },
  { path: 'activity-product/edit', component: ProductEditComponent }];


@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class MidAutumnRoutingModule { }
